package com.royalone.security.mapper;

import com.royalone.security.domain.Blog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface BlogMapper {

    @Select("select * from blog;")
    List<Blog> getAll();
}
